package horseParkMonitor.configuration;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * Created by Oxana on 1/2/15.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement( name ="horse" )
public class Horse {
    public String horse_number;
    public String name_horse;
    public String odds;
    public String did_win;

    public void setHorse_number(String horse_number) {
        this.horse_number = horse_number;
    }

    public void setName_horse(String name_horse) {
        this.name_horse = name_horse;
    }

    public void setOdds(String odds) {
        this.odds = odds;
    }

    public void setDid_win(String did_win) {
        this.did_win = did_win;
    }
    //XmlElement( name = "horse_number", type =String.class )
    public String getHorse_number() {
        return horse_number;
    }
    //XmlElement( name = "name_horse", type =String.class )
    public String getName_horse() {
        return name_horse;
    }
    //XmlElement( name = "odds", type =String.class )
    public String getOdds() {
        return odds;
    }
    //XmlElement( name = "did_win", type =String.class )
    public String getDid_win() {
        return did_win;
    }
}
